﻿
Partial Class usercontrols_albumImage
    Inherits System.Web.UI.UserControl

    Private _AlbumID As Integer
    Public Property AlbumID() As Integer
        Get
            Return _AlbumID
        End Get
        Set(ByVal value As Integer)
            _AlbumID = value
        End Set
    End Property

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim albumAdapter As New MainDbTableAdapters.AlbumsTableAdapter()

        repAlbum.DataSource = albumAdapter.GetAlbumImage(AlbumID)
        repAlbum.DataBind()

    End Sub
End Class
